package com.credit.jumu.playcard.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.credit.jumu.playcard.R;
import com.credit.jumu.playcard.base.BaseActivity;

/**
 * Created by Administrator on 2017/10/20/020.
 */

public class SetActivity extends BaseActivity {
	ImageView imageIcon;
	ImageView titleback;
	TextView title;
	RelativeLayout tosetapppass;

	@Override
	protected void onCreate(@Nullable Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_set);
		imageIcon = (ImageView) findViewById(R.id.imageIcon);
		imageIcon.setVisibility(View.GONE);
		titleback = (ImageView) findViewById(R.id.titleback);
		titleback.setVisibility(View.VISIBLE);
		title = (TextView) findViewById(R.id.title);
		title.setText("设置");
		backClick(R.id.titleback,this);
		tosetapppass = (RelativeLayout) findViewById(R.id.tosetapppass);
		tosetapppass.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(SetActivity.this, SetAppPassActivity.class);
				startActivity(intent);
			}
		});
	}
}
